package com.doget.data.db;

import androidx.annotation.NonNull;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity
public class UserInfo {
    public String name;
    public String againName;
    public String age;

    public String yuwen;
    public String shuxue;
    public String waiyu;
    @ColumnInfo(name = "phone_num")
    public String phoneNum;

    @PrimaryKey
    @NonNull
    public String uid;

    @Override
    public String toString() {
        return "UserInfo{" +
                "name='" + name + '\'' +
                ", waiyu='" + waiyu + '\'' +
                ", uid='" + uid + '\'' +
                '}';
    }

    public UserInfo(String name, String waiyu, @NonNull String uid) {
        this.name = name;
        this.waiyu = waiyu;
        this.uid = uid;
    }

    public String getYuwen() {
        return yuwen;
    }

    public void setYuwen(String yuwen) {
        this.yuwen = yuwen;
    }

    public String getShuxue() {
        return shuxue;
    }

    public void setShuxue(String shuxue) {
        this.shuxue = shuxue;
    }

    public String getWaiyu() {
        return waiyu;
    }

    public void setWaiyu(String waiyu) {
        this.waiyu = waiyu;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAgainName() {
        return againName;
    }

    public void setAgainName(String againName) {
        this.againName = againName;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }
}
